package com.example.expinterview.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.expinterview.entity.EiUser;
import com.example.expinterview.entity.ResultBody;

/**
 * @classname: IEiUserService
 * @description: TODO
 * @author: kaiser
 * @date: 2021/10/18 22:01
 * @version: 1.0
 */
public interface IEiUserService extends IService<EiUser> {
    /**
     * 根据openid获取用户信息
     * @param openid openid
     * @return 结果集
     */
    ResultBody selectByOpenid(String openid);

    /**
     * 创建用户数据
     * @param user 用户
     * @return 创建之后结果集
     */
    ResultBody createUser(EiUser user);
}
